import 'package:flutter/material.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBEngineer/YBBaseRouter/YBApplication.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBEngineer/YBBaseRouter/YBNavigator.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBHelper/YBColor/YBColor.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBHelper/YBTextStyle/YBTextStyle.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBHelper/yb_chinese_text/yb_chinese_text.dart';

import 'YBMiShuSubPage/YBMiShuTongCommonSubPage.dart';

class YBMiShuTongPage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Container(
      child: Scaffold(
        appBar: AppBar(
          elevation: 0,
          title: Text(YBChineseText.workTaiZhuanShuYingYongMiShuTongTitle,style: YBTextStyle.TextStyle30313320Medium),
        ),
        body: SingleChildScrollView(
          child: Column(
            children: [
              Container(
                height: YBTextStyle.adapterSize15,
              ),
              Container(
                height: YBTextStyle.adapterSize58,
                color: YBColor.white,
                child: InkWell(
                  child: YBMiShuTongCommonSubPage(
                      imageStr:'mishu_shangjikuImage',titleStr: YBChineseText.workTaiShangJiKuTitle
                  ),
                  onTap: (){
                    YBNavigatorUtil.jump(context, '/workTaiPage/workTaiMiShuTongPage/workTaiMiShuTongShangJikuPage');
                  },
                ),
              ),
              Container(
                height: YBTextStyle.adapterSize16,
              ),
              Container(
                height: YBTextStyle.adapterSize58,
                color: YBColor.white,
                child: InkWell(
                  child: YBMiShuTongCommonSubPage(imageStr:'mishu_shangjikuManagerImage',titleStr: YBChineseText.workTaiYiHuoShangJiTitle),
                  onTap: (){
                    YBNavigatorUtil.jump(context, '/workTaiPage/workTaiMiShuTongPage/workTaiMiShuTongYiHuoShangJiPage');
                  },
                ),
              ),
            ],
          ),
        ),
      ),
    );
  }
}
